package org.xukai.common.util;

import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author xukai
 * @desc
 * @date 2016-12-12-下午 1:56
 */
public class UIDUtils {

    static final SimpleDateFormat defm = new SimpleDateFormat("yyyyMMddHHmmss");

    public UIDUtils() {
    }

    public static String getReqNo() {
        return defm.format(new Date()) + System.nanoTime();
    }

    public static void main(String[] args) throws MalformedURLException {
        System.out.println(System.nanoTime());
    }
}
